package cn.heygod.graywhale.test.node;

import cn.heygod.graywhale.runtime.context.Input;
import cn.heygod.graywhale.runtime.context.Output;
import cn.heygod.graywhale.runtime.task.exe.TaskExecutable;
import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;

/**
 * @className: ClassNameTaskExecutor
 * @author: Simon
 * @description: TODO
 * @date: 2023/11/28 0:18
 * @version: 1.0
 */
@Slf4j
public class ClassNameTaskExecutor implements TaskExecutable {
    @Override
    public Output run(Input input) {
        Output output = new Output();
        output.setBody("ClassNameTaskExecutor is running");

        log.warn("OutputBody:"+output.getBody().toString());
        return output;
    }
}
